{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "48315226-fb02-4dcb-a2e5-9fdea2234e60",
   "metadata": {},
   "source": [
    "# 在 Python 中，变量就是变量，它没有类型，我们所说的\"类型\"是变量所指的内存中对象的类型"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "d81c7e81-6637-46d8-b48e-0b44874ff9c7",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1, 1, 1)"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 多个变量赋值\n",
    "a = b = c  = 1\n",
    "a,b,c"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "590c557c-f5d4-4c5a-9630-da94f6607884",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1, 2, 'demo')"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "a, b, c = 1, 2, 'demo'\n",
    "a,b,c"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "2c222a25-9293-4442-8fd0-0a129b0eded3",
   "metadata": {},
   "source": [
    "# 标准数据类型"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "df6ea035-b713-471e-8774-2a32f230f9e4",
   "metadata": {},
   "source": [
    "* 不可变数据（3 个）：Number（数字）、String（字符串）、Tuple（元组）\n",
    "* 可变数据（3 个）：List（列表）、Dictionary（字典）、Set（集合）\n",
    "\n",
    "此外还有一些高级的数据类型，如: 字节数组类型(bytes)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.10"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
